package com.example.project.dao;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.database.sqlite.SQLiteDatabase.CursorFactory;

public class SQLiteTipoAlojamiento extends SQLiteOpenHelper{
	
	public SQLiteTipoAlojamiento(Context context, String name,
			CursorFactory factory, int version) {
		super(context, name, factory, version);

	}

	private final String CREATE = "CREATE TABLE tipoAlojamiento ( idTipo integer primary key autoincrement, nombre TEXT, descripcion TEXT)";



	@Override
	public void onCreate(SQLiteDatabase db) {
		db.execSQL(CREATE);
	}

	@Override
	public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
		// TODO Auto-generated method stub

	}

	// Acabar con el servicio

	public void getAll() {

	}

	public void getOne() {

	}

	public void remove() {

	}

	public void update() {

	}

	public void insert() {

	}
	
	
}
